package com.itheima.dao;

import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

public interface OrderDao {

    Order findByCondition(Order order);

    void ordering(Order order);

    Map findById(Integer id) throws Exception;

    Integer findTodayOrder(String date);

    Integer findByArriveToday(@Param("date") String date,@Param("statu") String statu);

    Integer findByOrderCountThisWeek(String this_week);

    Integer findByArriveThisWeek(@Param("date") String this_week,@Param("statu") String statu);

    Integer findByOrderCountThisMonth(String this_month);

    Integer findByOrderArriveThisMonth(@Param("date") String this_month,@Param("statu") String 已到诊);

    Integer findCountAllOrder();
}
